﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WpfApp.Models;
using WpfApp.Utils;

namespace WpfApp.Services
{
    public class ConfigService
    {
        public ConfigSetting Setting { get; set; } = new ConfigSetting();
        public ConfigService()
        {
            var xmlAutoHelper = new MyXmlConfigAutoHelper<ConfigSetting>("configs\\MyConfig.xml", Setting);
            xmlAutoHelper.AutoInit();
        }



    }
}
